class Basicarea < Searchable
  set_table_name "areabasica"

  has_many :option

  validates_presence_of :id
  validates_presence_of :nome
  validates_uniqueness_of :id
  validates_numericality_of :id

  def to_s
    self.nome
  end
end
